<?php
$title = ' - 正在放映...';
include tpl('header');

echo $sid;
print_r($newduihua);
//$sql = "SELECT * FROM ".DB_PRE."user WHERE uid=".$cu['uid'];
//$cku = $db->get_one($sql);
//echo $sql;




foreach ($newduihua as $d) {
	echo '<p>';
	echo '<img src="code://#ml1#" /><a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['uid'].'">'.$start->showusername($d['uid']).'</a>扮演了<a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['touid'].'">'.$start->showusername($d['touid']).'</a>的 '.$start->showjuese($d['juese']).' '.$start->showyuqi($d['juese']).'的说:';
	echo '<font color="#FF00FF">'.$d['content'].'</font>&nbsp;<a href="'.SITE_URL.'index.php?mod=show&amp;uid='.$d['uid'].'&amp;touid='.$d['touid'].'">更多</a>';
	echo '</p>';
}


//print_r($friends['friend']);
//echo '选择好友<input type="text" name="juese" multi="true" telfilter="pingco" size="5" />';

echo '<hr style="solid" /><p>开始进入角色。。。</p>';
echo '选择好友<select multiple="false" name="touid">';
	foreach ($friends['friend'] as $f) {
		echo '<option value="'.$f['uid'].'">'.$f['name'].'</option>';
	}
echo '</select>';

echo '选择角色<br /><select multiple="false" name="juese">';
	foreach ($jueselist as $j) {
		echo '<option value="'.$j['id'].'">'.$j['title'].'</option>';
	}
echo '</select>';
echo '想说啥？<br/><input type="text" name="content"  size="4" />';
echo '<form action="'.SITE_URL.'index.php?mod='.$mod.'" method="post"><input type="hidden" name="touid" value="$touid"/><input type="hidden" name="juese" value="$juese"/><input type="hidden" name="content" value="$content"/><input type="hidden" name="submit" value="ok"/><input type="submit" value="提交" /></form>';



include tpl('footer');
?>